//
//  SelectDishRightCell.h
//  OrderSeat
//
//  Created by wangwei on 13-10-9.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SelectDishRightCellDelegate

@optional
- (void)selectDishCountFinished;
- (void)tapImageWithIndex:(NSInteger)index;

@end

@interface SelectDishRightCell : UITableViewCell

@property (strong, nonatomic) IBOutlet UIImageView *logo;
@property (strong, nonatomic) IBOutlet UILabel *dishNameLabel;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;
@property (strong, nonatomic) IBOutlet UILabel *unitLabel;
@property (strong, nonatomic) IBOutlet UIButton *removeButton;
@property (strong, nonatomic) IBOutlet UIButton *addButton;
@property (strong, nonatomic) IBOutlet UILabel *countLabel;
@property (strong, nonatomic) IBOutlet UIButton *normalAddButton;
@property (strong, nonatomic) id<SelectDishRightCellDelegate> delegate;

@property (assign, nonatomic) int index;
@property (strong, nonatomic) NSMutableDictionary *dictionary;

- (void)setContent:(NSMutableDictionary*)dic andIndex:(int)index;

- (IBAction)selectDishAction:(id)sender;

@end
